<?php echo script::add('jquery'); ?>
<script type="text/javascript">$(document).ready(function(){$('#submit_button').click(function(){var radio_status=$('input[name=is_verify]:checked').val();$.post('<?php echo $this->get_action_url('ajax_comment'); ?>', {status:radio_status}, function(data){switch(data){case '101':alert('恭喜,操作成功!');location.reload();break; case '100':alert('对不起,程序执行失败!请重新操作');break;}});});});</script>
<table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30" align="left">>><?php echo $site_name; ?></td>
      </tr>
      <tr>
        <td align="left" valign="top"><table width="100%" border="0" cellspacing="10" cellpadding="0">
          <tr>
            <td width="150" height="40" align="right">开启审核功能：</td>
            <td><?php echo html::radio(array(0=>'不开启', 1=>'开启'), array('name'=>'is_verify'), $config_data['is_verify']); ?></td>
          </tr>
          <tr>
            <td height="40" colspan="2" align="center"><?php echo html::button(array('name'=>'submit_button', 'value'=>'设置', 'id'=>'submit_button')); ?></td>
          </tr>
        </table></td>
      </tr>
</table>